// #ifndef VUE3
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
  createSSRApp
} from 'vue'
import Sotre from './store/sotre.js'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  app.use(Sotre)
  return {
    app
  }
}
// #endif
//封装弹窗
uni.$showMsg = function(text = '数据加载失败', duration = 1500) {
  uni.showToast({
    title: text,
    duration,
    icon: 'none'
  })
}
//========================================

